<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.0</title>
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"
    />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="./css/font.css">
    <link rel="stylesheet" href="./css/xadmin.css">
    <!--jquery-->
    <script type="text/javascript" src="./js/jquery.min.js"></script>
    <!--layui-->
    <script type="text/javascript" src="./lib/layui/layui.js"></script>
    <!--cookies-->
    <script type="text/javascript" src="./js/cookies.js"></script>
    <!--spark-md5 获取文件MD5-->
    <script type="text/javascript" src="./js/spark-md5.min.js"></script>
    <!--common-->
    <script type="text/javascript" src="./js/common.js"></script>
    <!--检测登陆-->
    <script type="text/javascript" src="./js/testing_login.js"></script>
    <!--xadmin js-->
    <script type="text/javascript" src="./js/xadmin.js"></script>
    <!--js-->
    <script type="text/javascript" src=./js/agent-add.js></script>
</head>

<body>
    <div class="x-nav">
        <span class="layui-breadcrumb">
            <a href="">web 内容管理</a>
            <a href="">经销商管理</a>
            <a>
                <cite>新增经销商</cite>
            </a>
        </span>
        <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);"
            title="刷新">
            <i class="layui-icon" style="line-height:30px">&#xe669;</i>
        </a>
    </div>
    <div class="x-body">
        <div class="layui-form layui-form-pane" lay-filter="agent-detail-form">
            <div class="layui-form-item">
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>经销商-简体
                </label>
                <div class="layui-input-inline">
                    <input type="text" name="agtNameCn" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>经销商-繁体
                </label>
                <div class="layui-input-inline">
                    <input type="text" name="agtNameTw" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>经销商-英文
                </label>
                <div class="layui-input-inline">
                    <input type="text" name="agtNameEn" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>联系方式
                </label>
                <div class="layui-input-inline">
                    <input type="text" name="agtPhone" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
                <!-- <label for="" class="layui-form-label">
                    <span class="x-red">*</span>传真
                </label>
                <div class="layui-input-inline">
                    <input type="text" name="agtFex" required lay-verify="required" autocomplete="off" class="layui-input">
                </div> -->
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>营业时间
                </label>
                <div class="layui-input-inline">
                    <input type="text" name="openTime" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>经销商编码（例如A021）
                </label>
                <div class="layui-input-inline">
                    <input type="text" name="agtCode" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>归并区域（简|繁|英）
                </label>
                <div class="layui-input-inline">
                    <input type="text" name="agtMergeCn" title="简" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-input-inline">
                    <input type="text" name="agtMergeTw" title="繁" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-input-inline">
                    <input type="text" name="agtMergeEn" title="英" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>地址-简体
                </label>
                <div class="layui-input-inline">
                    <input type="text" name="addrCn" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>地址-繁体
                </label>
                <div class="layui-input-inline">
                    <input type="text" name="addrTw" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>地址-英文
                </label>
                <div class="layui-input-inline">
                    <input type="text" name="addrEn" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>坐标lat
                </label>
                <div class="layui-input-inline">
                    <input type="text" name="lat" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>坐标lng
                </label>
                <div class="layui-input-inline">
                    <input type="text" name="lng" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>状态
                </label>
                <div class="layui-input-inline">
                    <select name="status">
                        <option value="0">停用</option>
                        <option value="1">启用</option>
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label for="" class="layui-form-label">                        
                    <span class="x-red">*</span>店图                    
                </label>
                <div class="layui-input-inline" style="width:60%">                        
                    <input type="text" name="agentImgLink" required lay-verify="required" autocomplete="off" class="layui-input" disabled>
                </div> 
                <div class="position-box">                   
                     <a class="layui-btn layui-btn-warm">变更</a>                    
                     <input type="file" data-op="agentImgLink" onchange="addOrChangeProImg('agentImg')" name="agentImg" class="hidden-upload-btn">
                </div>
             </div>
            <div class="layui-form-item layui-form-text">
                <label for="" class="layui-form-label">简介-简体</label>
                <div class="layui-input-block">
                    <textarea name="descCn" placeholder="请输入内容" class="layui-textarea" required lay-verify="required"></textarea>
                </div>
                <label for="" class="layui-form-label">简介-繁体</label>
                <div class="layui-input-block">
                    <textarea name="descTw" placeholder="请输入内容" class="layui-textarea" required lay-verify="required"></textarea>
                </div>
                <label for="" class="layui-form-label">简介-英文</label>
                <div class="layui-input-block">
                    <textarea name="descEn" placeholder="请输入内容" class="layui-textarea" required lay-verify="required"></textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <button  lay-submit lay-filter="add" class="layui-btn">
                    确认新增
                </button>
                <button class="layui-btn layui-btn-warm" name="reload">
                    重置表格
                </button>
            </div>
        </div>
    </div>
</body>

</html>